Conversation
- Add 5 language-specific Dockerfiles (python, miniforge, node, java, go) - Update docker-compose.yml with executor-build profile services - Add environments config to config.yaml with image mappings - Extend ExecutionEnvironmentManager with environment selection - Add environment_name attribute to ContainerInfo - Extend PlanningCoordinator with environment selection prompt - Update system_prompt_command_executor.txt with library guide - Add comprehensive unit tests for new functionality Co-authored-by: notfolder <20558197+notfolder@users.noreply.github.com>
- Improve git installation logic in prepare() method - Return (container_id, is_custom_image) tuple from _create_container() - Import DEFAULT_ENVIRONMENTS constant in planning_coordinator.py - Update unit tests for new return type Co-authored-by: notfolder <20558197+notfolder@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement mechanism to launch environment with selected image
Implement multi-language execution environment selection during planning phase
Nov 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements environment selection per MULTI_LANGUAGE_ENVIRONMENT_SPECIFICATION.md. The planning phase now selects an appropriate Docker image (Python, Miniforge, Node.js, Java, Go) based on project requirements, and the execution environment is started with that image.
Dockerfiles
docker/executor-{python,miniforge,node,java,go}/Dockerfiledocker compose --profile executor-build buildConfig
config.yaml: Addedenvironmentsmapping anddefault_environmentsettingdocker-compose.yml: Added executor services underexecutor-buildprofileExecutionEnvironmentManager
get_available_environments()/get_default_environment()for environment discoveryprepare(task, environment_name)accepts optional environment selection_create_container()returns(container_id, is_custom_image)tuple to skip git install on pre-built imagesContainerInfoincludesenvironment_nameattributePlanningCoordinator
_build_environment_selection_prompt()injects environment options into planning prompt_extract_selected_environment()parses LLM's environment choice from plan responseselected_environmentfor pause/resumeExample LLM Response Format
{ "goal_understanding": {...}, "action_plan": {...}, "selected_environment": { "name": "node", "reasoning": "package.json detected, TypeScript project" } }System Prompt
system_prompt_command_executor.txtwith environment table and package manager guides per environmentOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.